﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DocumentMining.Topic
{
    public class MyWords
    {
        #region Properties
        private string _word;
        private int _count;
        private int _docIndex;
        private List<MyWords> _next;
        private List<MyWords> _previous;

        private Website _website;

        public string Word {
            get { return _word;}
            set { _word = value; }
        }

        public int Count
        {
            get { return _count; }
            set { _count = value; }
        }

        public int DocIndex
        {
            get { return _docIndex; }
            set { _docIndex = value; }
        }

        public List<MyWords> Next
        {
            get { return _next; }
            set { _next = value; }
        }

        public List<MyWords> Previous
        {
            get { return _previous; }
            set { _previous = value; }
        }

        public Website Website
        {
            get { return _website; }
            set { _website = value; }
        }

        #endregion

        #region Method
        public MyWords()
        {
            this.Count = 0;
            this.Word = string.Empty;
            this.Next = new List<MyWords>();
            this.Previous = new List<MyWords>();
            this.Website = new Website();
            this.DocIndex = 0;
        }
        #endregion

    }
}